.captcha-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.captcha-modal {
  background: rgba(30, 41, 59, 0.95);
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.captcha-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-modal-title {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.captcha-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.captcha-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.captcha-modal-content {
  padding: 15px 20px;
}

.captcha-modal-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 15px;
  text-align: center;
}

.captcha-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 20px 20px;
}

.captcha-modal-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.captcha-modal-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.captcha-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.2);
}

.captcha-modal-confirm {
  background: #6366f1;
  color: white;
}

.captcha-modal-confirm.enabled {
  background: #6366f1;
}

.captcha-modal-confirm.enabled:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.captcha-modal-confirm.disabled {
  background: rgba(99, 102, 241, 0.3);
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 480px) {
  .captcha-modal {
    width: 95%;
    max-width: 320px;
  }
  
  .captcha-modal-header {
    padding: 15px 15px 10px;
  }
  
  .captcha-modal-title {
    font-size: 16px;
  }
  
  .captcha-modal-content {
    padding: 10px 15px;
  }
  
  .captcha-modal-footer {
    padding: 10px 15px 15px;
  }
  
  .captcha-modal-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}